package com.qst.medical.mapper;

import com.qst.medical.entity.SaleEntity;
import org.springframework.stereotype.Component;
import com.qst.medical.domain.Sale;

import java.util.List;

@Component
public interface SaleMapper {
    List<Sale> getAllSale(String saleName);
    Sale getSaleById(Long saleId);

    int saveSale(SaleEntity sale);
    int deleteSaleById(Long id);
    int updateSaleById(SaleEntity sale);
}
